package com.jy.adscm.operation.base.service;

import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.base.bean.TaskWorkAttachment;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 * 附件 服务类
 * </p>
 *
 * @author zyl
 * @since 2020-07-28
 */
public interface TaskWorkAttachmentService extends IService<TaskWorkAttachment> {

    boolean deleteTaskWorkAttachment(Integer id, Token token) throws AdscmSystemException;

    List<TaskWorkAttachment> selectTaskWorkAttachment(Integer pid, Token token);
}
